package com.frogs.ucenter.util;

import com.frogs.system.util.DataCachePrefixKeyEnum;

/**
 * 缓存的key
 *
 * @author lijian
 * @version 2014年3月31日 - 下午11:01:21
 */
public class DataCacheKey {

	public static final String prefixKey = DataCachePrefixKeyEnum.constants.getPrefixKeyName() + DataCachePrefixKeyEnum.ucenter.getPrefixKeyName();
	
	/** 评论key */
	public static final String goodsEvaluateCommentMapKey = prefixKey + "CACHE_GOODS_EVALUATE_COMMENT_MAP";
	
	/** 评价key */
	public static final String goodsEvaluateMapKey = prefixKey + "CACHE_GOODS_EVALUATE_MAP";
	
	/** 登录验证码key */
	public static final String verifyMapKey = prefixKey + "CACHE_USER_VERIFY_MAP";
	
	/** 注册邮箱验证key */
	public static final String emailCheckCodeMapKey = prefixKey + "CACHE_USER_EMAIL_CHECKCODE";

	/** 找回密码时效性key */
	public static final String findPasswordCodeMapKey = prefixKey + "CACHE_FIND_PW";
	
	/** 找回密码邮箱验证key */
	public static final String emailPasswordCheckCodeMapKey = prefixKey + "CACHE_USER_PASSWORD_EMAIL_CHECKCODE";
	
	/** sys_api_info表数据的缓存*/
	public static final String sysApiInfoMapKey = prefixKey + "CACHE_SYS_API_INFO_MAP";
	
	/** 注册手机验证码时效key */
	public static final String registerCodeAgingMapkey = prefixKey + "REGISTER_CODE_AGING";
	
	/** 重置密码手机验证码时效key */
	public static final String resetPwCodeAgingMapkey = prefixKey + "RESET_PW_CODE_AGING";
	
	/** 发送邮箱失效key */
	public static final String sendEmailVerifyMapkey = prefixKey + "SEND_EMAIL_VERIFY";
	
	/** 开发平台用户信息key */
	public static final String openPlatformInfoMapkey = prefixKey + "OPEN_PLATFORM_INFO";
	
	/** 开发平台手机验证码key */
	public static final String openPlatformVerifyMapkey = prefixKey + "OPEN_PLATFORM_VERIFY";
	
	/** 登录动态密码 */
	public static final String loginDynamicPasswordMapkey = prefixKey + "LOGIN_DYNAMIC_PASSWORD";
	
	/** 发送登录动态密码的时效key */
	public static final String loginDynamicPasswordAgingMapkey = prefixKey + "LOGIN_DYNAMIC_PASSWORD_AGING";
	
	/** 开放平台手机验证码请求频率 */
	public static final String openPlatformVerifyRateMapkey = prefixKey + "OPEN_PLATFORM_VERIFY_RATE";
	
	/** 开放平台邮件验证码请求频率 */
	public static final String openPlatformEmailRateMapkey = prefixKey + "OPEN_PLATFORM_EMAIL_RATE";
	
	/** 开发平台激活邮件key */
	public static final String openPlatformActivateEmailMapkey = prefixKey + "OPEN_PLATFORM_ACTICATE_EMAIL";
	
	/** 发送消费验证码key */
	public static final String sendConsumeCodeMapkey = prefixKey + "SEMD_CONSUME_CODE";
	
	/** 注册同步key */
	public static final String registerAsyncMapkey = prefixKey + "CACHE_REGISTER_ASYNC";
	
	/** 动态密码注册同步key */
	public static final String registerByDyPwAsyncMapkey = prefixKey + "CACHE_REGISTER_DYPW_ASYNC";
	
	/** 自动注册同步key */
	public static final String autoRegisterAsyncMapkey = prefixKey + "CACHE_AUTO_REGISTER_ASYNC";
	
	/** 第三方注册同步key */
	public static final String bindOpenPlatformLoginAsyncMapkey = prefixKey + "CACHE_BINDOPENPLATFORM_ASYNC";
	
	/** 通过发送者和接受者获取openid和realname */
	public static final String userOpenidRealNameMapkey = prefixKey + "CACHE_USER_OPENID_REALNAME";
}
